package core
{
	import flash.geom.Point;
	import flash.geom.Rectangle;

	public class Config
	{
		public function Config()
		{
		}
		
		public static const CHIP_LIST:Array = [{value:0.1,colorFrame:1,chipFrame:4,visible:false},
			{value:0.5,colorFrame:2,chipFrame:7,visible:false},
			{value:1,colorFrame:3,chipFrame:8},
			{value:5,colorFrame:4,chipFrame:11},
			{value:10,colorFrame:5,chipFrame:12},
			{value:25,colorFrame:6,chipFrame:14},
			{value:100,colorFrame:7,chipFrame:16},
			{value:500,colorFrame:8,chipFrame:19},
			{value:1000,colorFrame:9,chipFrame:20}];// 配置出来的数组,需要重新配置
		
		
		public static const MAX_USERS:int = 5;
		
		
		public static const MAX_CARD_LENGTH:int = 13;
		
		public static const MAX_POINTS:int = 21;
		
		public static const CPU_MAX_POINTS:int = 17;// 当电脑的点数为这个值时,就不再继续叫点了
		
	/*	public static const CARD_TYPE_HEITAO:int = 0;
		public static const CARD_TYPE_HEART:int = 1;
		public static const CARD_TYPE_FANGPIAN:int = 2;
		public static const CARD_TYPE_CAOHUA:int = 3;*/
		
		public static const PLAYER_TABLE_POSITION:Array = [new Point(898.6,353.3),
			new Point(743.45,393.3),
			new Point(578.95,405.3),
			new Point(410,383.3),
			new Point(241,333.3),
			new Point(555.85,174.2),
			new Point(899.6,255.3),
			new Point(741.45,294.2),
			new Point(578.95,307.3),
			new Point(410,283.3),
			new Point(241,235.6)]

		
		public static const CARD_ARROW_POINTS:Array = [new Point(921.65,306.35),
			new Point(767.35,347.75),
			new Point(601.9,359.85),
			new Point(432.4,336.85),
			new Point(262.4,284.95),
			new Point(550.35,120.6),
			new Point(921.65,206.35),
			new Point(759.5,246.35),
			new Point(602.35,257.6),
			new Point(430.4,232),
			new Point(264.4,184.95)];// 按纽的位置
													
		public static const PLAYER_TABLE_CHIP_POSITION:Array = [new Point(935.75,356.3),
			new Point(769.35,403.75),
			new Point(606.75,422.45),
			new Point(432.65,407.75),
			new Point(268.8,359.05),
			new Point(590.85,137.2),
			new Point(935.75,248.3),
			new Point(784.4,294.4),
			new Point(610.1,301.1),
			new Point(441.65,284.15),
			new Point(276.5,238.5)];// 筹码的起始坐标点
		
		public static const MAX_COLOR_LENGTH:int = 4;
		
		public static const CARD_OBJECT_REVERSE_FRAME:int = 53;
		
		public static const SEND_CARD_POSITION:Point = new Point(827,151);
		
		public static const REMOVE_CARD_POSITION:Point = new Point(262,65);
		
		public static const SEND_CARD_H_GAP:Number = 18;// 发出来的牌,罗列的位置
		
		public static const CPU_OWNER:int = 5;
		
		
		
		public static const CARD_EFFECT_RECTANGLE:Rectangle = new Rectangle(0,0,77.65,93.10);
		
		public static const REMOVE_CHIP_POSITION:Point = new Point(500,50);
		
		public static const WIN_CHIP_POSITION:Point = new Point(966,440);//赢的筹码坐标
		
		public static const MAX_COUNT:int = 6;
		
		public static const LAST_CHIP_EFFECT_POSITION:Point = new Point(966,439);// 最后一个落地点的效果的位置
		
	}
}